package lab02.test16;

import java.util.Scanner;

/**
 * Created by 123 on 2017/12/29.
 */
public class Test {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);

        Add one = new Add();
        for (int i = 0; i <= 4; i++) {
            one.arr[i] = input.nextInt();
        }
        one.add();


        Subtraction two = new Subtraction();
        for (int i = 0; i <= 4; i++) {
            two.arr[i] = input.nextInt();
        }
        two.subtraction();


        Multipli three = new Multipli();
        three.num1 = input.nextInt();
        three.num2 = input.nextInt();
        three.multipli();

        Division four = new Division();
        four.num1 = input.nextInt();
        four.num2 = input.nextInt();
        four.division();


    }
}
